import 'package:app/modules/example/icon.dart';
import 'package:app/modules/example/route_b.dart';
import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
import 'package:app/main.dart';
import 'package:app/modules/common/error.dart';
import 'package:app/modules/example/route_a.dart';

// 根页面
var rootHandler = new Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return MyApp();
});
// 空页面
var emptyHandler = new Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ErrorPage();
});
// RouterPageA页面
var routerAHandler = new Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return RouterAPage();
});
// RouterPageB页面
var routerBHandler = new Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return RouterBPage();
});
// IconPage页面
var iconPageHandler = new Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return IconPage();
});
